import json
import requests

headers = {'Content-Type' : 'application/json'}
datas = json.dumps({"atAll": "false","content": "test_Avensliu","messageType": "text"})
r = requests.post("http://172.16.182.230:9999/dingtalk/rest/plugin/service/dingtalk/text", data=datas, headers=headers)
print(r.text)